<!DOCTYPE html>
<html dir="ltr" lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>{{ handler.settings.site_name }} › {% block title %}{% end %}</title>
        <link href="{{ static_url('favicon.ico') }}" rel="icon" type="image/x-icon" />
        <link href="" rel="icon" type="image/x-icon" />
        
        <link rel="stylesheet" href="{{ static_url('themes/default/style.css') }}" type="text/css">
        <link rel="stylesheet" href="{{ static_url('themes/default/js/colorbox/colorbox.css') }}" type="text/css">
            
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/fancy.css') }}" title="fancy" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/silver.css') }}" title="silver" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/blue.css') }}" title="blue" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/rose.css') }}" title="rose" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/dark.css') }}" title="dark" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/mint.css') }}" title="mint" media="screen"> 
        <link rel="alternate stylesheet" type="text/css" href="{{ static_url('themes/default/skins/bumble-bee.css') }}" title="bumble-bee" media="screen"> 
            
            
        {% block css %}{% end %}
        <!--[if lte IE 8]>
        <link rel="stylesheet" href="{{ static_url('themes/default/css/ie.css') }}" />
        <![endif]-->
        
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> 
        <script type="text/javascript">
            WebFontConfig = {
                google: { families: [ 'Yanone Kaffeesatz:regular,bold' ] }
            };
            (function() {
            var wf = document.createElement('script');
            wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
                '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
            wf.type = 'text/javascript';
            wf.async = 'true';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(wf, s);
        })();
        </script> 

        
        {% block js %}{% end %}
    </head>
    <body>

    <div id="header">
	<div id="site-info">
	    <h1 id="logo"><a href="/" title="{{ handler.settings.site_name }}" rel="home">{{ handler.settings.site_name }}</a></h1>

	    <div id="site-description">
		A Place of Niubility and Zhuangbility
	    </div>
	</div>
        <div id="login">
            <a href="#">Login</a> <a href="{{ reverse_url('signup') }}">Sign up</a>
        </div>

	<div class="header-nav">
	    <div class="menu-my-menu-container">
		<ul id="menu-my-menu" class="menu">
		    <li id="menu-item-130" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-130"><a href="index.html">Home</a></li>

		    <li id="menu-item-136" class="parent menu-item menu-item-type-custom menu-item-object-custom menu-item-136">
			<a href="#">Topics</a>

			<ul class="sub-menu">
			    <li id="menu-item-133" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-133"><a href="normal-page/index.html">Normal Page</a></li>

			    <li id="menu-item-132" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132"><a href="full-width/index.html">Full Width</a></li>

			    <li id="menu-item-135" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-135"><a href="unique-sidebar/index.html">Unique Sidebar</a></li>

			    <li id="menu-item-134" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-134"><a href="timeline/index.html">Timeline</a></li>

			    <li id="menu-item-131" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-131"><a href="archives/index.html">Archives</a></li>
			</ul>
		    </li>

		    <li id="menu-item-137" class="parent menu-item menu-item-type-custom menu-item-object-custom menu-item-137">
			<a href="#">Fu Guang</a>

			<ul class="sub-menu">
			    <li id="menu-item-138" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-138"><a href="category/photography/index.html">Photography</a></li>

			    <li id="menu-item-139" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-139"><a href="category/design/index.html">Design</a></li>

			    <li id="menu-item-140" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-140"><a href="category/black-and-white/index.html">Black and White</a></li>

			    <li id="menu-item-141" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-141"><a href="category/moving-pictures/index.html">Moving Pictures</a></li>

			    <li id="menu-item-142" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-142"><a href="category/quotes/index.html">Quotes</a></li>
			</ul>
		    </li>

		    <li id="menu-item-129" class="parent menu-item menu-item-type-custom menu-item-object-custom menu-item-129">
                        <a href="#">Themes</a>
                        <ul class="sub-menu" id="theme-list">
			    <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="default" class="styleswitch">Default</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="fancy" class="styleswitch">Fancy</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="silver" class="styleswitch">Silver</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="rose" class="styleswitch">Rose</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="blue" class="styleswitch">Blue</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="dark" class="styleswitch">Dark</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="mint" class="styleswitch">Mint</a>
                            </li>
                            <li class="menu-item menu-item-type-taxonomy menu-item-object-category">
                                <a href="#" rel="bumble-bee" class="styleswitch">Bumble Bee</a>
                            </li>
			</ul>
                    </li>
                    
		</ul>
	    </div>
	</div>

	<div id="search-box">
	    <form id="searchform" name="searchform" method="get" action="#"> 
		<div> 
			<input type="text" id="s" name="s" /> 
			<input type="submit" id="searchsubmit" value="Search" /> 
		</div> 
            </form>
	</div>

	<div class="clearfix"></div>
    </div>

    <div class="wrap">
        {% block content %}{% end %}
    </div><!-- #wrap -->
    <br class="clearfix">

    <div id="footer">
	<p>Copyright &#169; 2011 上海爱德家实业 | Shanghai Idea+<span class="alignright">Powered by <a href="#" target="_blank">Python</a></p>

	<div class="clearfix"></div>
        <script type="text/javascript" src="{{ static_url('themes/default/js/plugins.js') }}"></script>
        <script type="text/javascript" src="{{ static_url('themes/default/js/script.js') }}"></script>
        <script type="text/javascript" src="{{ static_url('themes/default/js/styleswitcher.js') }}"></script>
    </body>
</html>